<HTML>
<HEAD>
<meta charset="UTF-8">
<title>pxToDp - dks</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">dks</a>&nbsp;/&nbsp;<a href="../index.html">github.com.vikramezhil.dks.utils</a>&nbsp;/&nbsp;<a href="index.html">kotlin.Int</a>&nbsp;/&nbsp;<a href="./px-to-dp.html">pxToDp</a><br/>
<br/>
<h1>pxToDp</h1>
<a name="github.com.vikramezhil.dks.utils$pxToDp(kotlin.Int, android.content.Context)"></a>
<code><span class="keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">.</span><span class="identifier">pxToDp</span><span class="symbol">(</span><span class="identifier" id="github.com.vikramezhil.dks.utils$pxToDp(kotlin.Int, android.content.Context)/context">context</span><span class="symbol">:</span>&nbsp;<a href="https://developer.android.com/reference/android/content/Context.html"><span class="identifier">Context</span></a><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a></code>
<p>Converts pixels to dp</p>
<h3>Parameters</h3>
<p><a name="context"></a>
<code>context</code> - Context The context instance</p>
<p><strong>Receiver</strong><br/>
Int The pixels value</p>
<p><strong>Return</strong><br/>
Int The converted dp value</p>
</BODY>
</HTML>
